class studentReviewEntity {
  int memberId;
  String memberName;
  String idCard;
  int isStay;
  String dorm;

  studentReviewEntity(
      {this.memberId, this.memberName, this.idCard, this.isStay, this.dorm});

  studentReviewEntity.fromJson(Map<String, dynamic> json) {
    memberId = json['member_id'];
    memberName = json['member_name'];
    idCard = json['id_card'];
    isStay = json['is_stay'];
    dorm = json['dorm'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['member_id'] = this.memberId;
    data['member_name'] = this.memberName;
    data['id_card'] = this.idCard;
    data['is_stay'] = this.isStay;
    data['dorm'] = this.dorm;
    return data;
  }
}